<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class kataTestBaseClass</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> kataTestBaseClass</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">base class that enhances PHPUnit with http-functionality</p>
	<ul class="tags">
				<li><span class="field">author:</span> mnt@codeninja.de</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_kataTest---lib---kataTestBase.class.php.html">/kataTest/lib/kataTestBase.class.php</a> (line <span class="field">24</span>)
		</p>
		
				
		<pre>UnitTestCase
   |
   --<a href="../katatest_lib/PHPUnit_Framework_TestCase.html">PHPUnit_Framework_TestCase</a>
      |
      --kataTestBaseClass</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../katatest_case/Example1Test.html">Example1Test</a>
					</td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../katatest_case/Example3Test.html">Example3Test</a>
					</td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../katatest_lib/SpiderBaseTest.html">SpiderBaseTest</a>
					</td>
					<td>
											visits all pages it can find and reports kata/php-errors or missing translations
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																								<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">array</span>
					<a href="#$_errorstrings" title="details" class="var-name">$_errorstrings</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">object</span>
					<a href="#$_html" title="details" class="var-name">$_html</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">object</span>
					<a href="#$_http" title="details" class="var-name">$_http</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																																																																																																																																								<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">kataTestBaseClass</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#assocCookies" title="details" class="method-name">assocCookies</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$param</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$param</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#bootstrapKata" title="details" class="method-name">bootstrapKata</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#checkIfDuplicateLink" title="details" class="method-name">checkIfDuplicateLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#clearSession" title="details" class="method-name">clearSession</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#containsLink" title="details" class="method-name">containsLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#containsText" title="details" class="method-name">containsText</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#dumpWebsiteHtml" title="details" class="method-name">dumpWebsiteHtml</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#get" title="details" class="method-name">get</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">array</span>
										<a href="#getFormVars" title="details" class="method-name">getFormVars</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$formname</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">mixed</span>
										<a href="#getLinkTarget" title="details" class="method-name">getLinkTarget</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">mixed</span>
										<a href="#getPattern" title="details" class="method-name">getPattern</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pattern</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$casesensitive</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">mixed</span>
										<a href="#getPatterns" title="details" class="method-name">getPatterns</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pattern</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$casesensitive</span> = <span class="var-default">true</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#isHtml" title="details" class="method-name">isHtml</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#killLog" title="details" class="method-name">killLog</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">'unittest.log'</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#loadController" title="details" class="method-name">loadController</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#loadModel" title="details" class="method-name">loadModel</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#log" title="details" class="method-name">log</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$txt</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">'unittest.log'</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#login" title="details" class="method-name">login</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$user</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pass</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#mustAnything" title="details" class="method-name">mustAnything</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveText</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveText</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$expectedPages</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#mustHaveForm" title="details" class="method-name">mustHaveForm</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#mustHaveLink" title="details" class="method-name">mustHaveLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#mustHaveText" title="details" class="method-name">mustHaveText</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#mustHaveTextAndLink" title="details" class="method-name">mustHaveTextAndLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveText</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$expectedPages</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#mustNotHaveForm" title="details" class="method-name">mustNotHaveForm</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#mustNotHaveLink" title="details" class="method-name">mustNotHaveLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#mustNotHaveText" title="details" class="method-name">mustNotHaveText</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#mustNotHaveTextOrLink" title="details" class="method-name">mustNotHaveTextOrLink</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveText</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$expectedPages</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#post" title="details" class="method-name">post</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$postvars</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setFollowRedirects" title="details" class="method-name">setFollowRedirects</a>
											(<span class="var-type">bool</span>&nbsp;<span class="var-name">$param</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setVerbose" title="details" class="method-name">setVerbose</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$level</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#weMustLandAtURL" title="details" class="method-name">weMustLandAtURL</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#__defineOrEnv" title="details" class="method-name">__defineOrEnv</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">false</span>])
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$_errorstrings" id="$_errorstrings"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$_errorstrings</span>
			 = <span class="var-default">array (<br />		'&lt;?php',<br />		'&lt;?=',<br />		'&lt;? ',<br />		'Warning: ',<br />		'Fatal error: ',<br />		'Notice: ',<br />		'Use of undefined constant ',<br />		'---UNSET(',<br />		'404 Not Found',<br />		'Framework Exception',<br />		//	&quot;';&quot;,<br />	//	'&quot;;',<br />	'&lt;foo&gt;',<br />		'Array (',<br /><br /><br />	)</span>			(line <span class="line-number">55</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">strings that should not appear in the polled html unless something went wrong</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_html" id="$_html"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">object</span>
			<span class="var-name">$_html</span>
						(line <span class="line-number">36</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">placeholder for our html-parser class</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_http" id="$_http"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">object</span>
			<span class="var-name">$_http</span>
						(line <span class="line-number">30</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">placeholder for our http-request class</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html">PHPUnit_Framework_TestCase</a></span></p>
					<blockquote>
													<img src="../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#var$extension">PHPUnit_Framework_TestCase::$extension</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">77</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">construct everything needed</p>
	
	<div class="method-signature">
		<span class="method-result">kataTestBaseClass</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#method__construct">PHPUnit_Framework_TestCase::__construct()</a></dt>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../katatest_lib/SpiderBaseTest.html#method__construct">SpiderBaseTest::__construct()</a>
							</li>
				</ul>
	</div>
<a name="methodassocCookies" id="assocCookies"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">assocCookies</span> (line <span class="line-number">663</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">sets cookies that are used for any request</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			assocCookies
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$param</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$param</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$param</span><span class="var-description">: key-value pair for cookies</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$param</span>			</li>
				</ul>
		
			
	</div>
<a name="methodbootstrapKata" id="bootstrapKata"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">bootstrapKata</span> (line <span class="line-number">174</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">bootstrap kata if not already done</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			bootstrapKata
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcheckIfDuplicateLink" id="checkIfDuplicateLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">checkIfDuplicateLink</span> (line <span class="line-number">415</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Finds out if $link is found more than once or fail</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			checkIfDuplicateLink
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$link</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclearSession" id="clearSession"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">clearSession</span> (line <span class="line-number">532</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">remove cookies etc. from session so http thinks this is a brand new connection</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clearSession
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcontainsLink" id="containsLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">containsLink</span> (line <span class="line-number">228</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return if given link can be found on current page</p>
	<ul class="tags">
				<li><span class="field">return:</span> if link was found on current page</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			containsLink
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$link</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcontainsText" id="containsText"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">containsText</span> (line <span class="line-number">246</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return if given text can be found on current page</p>
	<ul class="tags">
				<li><span class="field">return:</span> if text was found on current page</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			containsText
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: text to search for</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddumpWebsiteHtml" id="dumpWebsiteHtml"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">dumpWebsiteHtml</span> (line <span class="line-number">679</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">dump the current page (including headers, cookies etc) into given file</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			dumpWebsiteHtml
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget" id="get"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">get</span> (line <span class="line-number">563</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">GET the given url and do some tests on it</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: (&quot;foo/bar&quot; for example)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetFormVars" id="getFormVars"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getFormVars</span> (line <span class="line-number">451</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">return all variables of the given form</p>
	<ul class="tags">
				<li><span class="field">return:</span> variables or empty array if form not found</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getFormVars
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$formname</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$formname</span><span class="var-description">: kata-base relative url of the form (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLinkTarget" id="getLinkTarget"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getLinkTarget</span> (line <span class="line-number">431</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get kata-url of a link by link-text</p>
	<ul class="tags">
				<li><span class="field">return:</span> false when not found, kataURL if found</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			getLinkTarget
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: text between &lt;a&gt; brackets</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPattern" id="getPattern"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getPattern</span> (line <span class="line-number">473</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">cut out a text depending on a searchpattern.</p>
<p class="description"><p>example: text is &quot;abcdefghij&quot;,  			searchpattern is &quot;ab*fg&quot;,  			then result is &quot;cde&quot;</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> false when nothing is found, otherwise an array with text-results</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			getPattern
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pattern</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$casesensitive</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: text to search in</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$pattern</span><span class="var-description">: pattern to search in text</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$casesensitive</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetPatterns" id="getPatterns"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getPatterns</span> (line <span class="line-number">510</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">cut out text depending on pattern, multiple wildcards allowed</p>
<p class="description"><p>example: text is &quot;abcdefghij&quot;,  			searchpattern is &quot;ab*fg*ij&quot;,  			then result is array(&quot;cde&quot;,&quot;h&quot;)</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> false when nothing is found, otherwise an array with text-results</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			getPatterns
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pattern</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$casesensitive</span> = <span class="var-default">true</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: text to search in</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$pattern</span><span class="var-description">: pattern to search in text</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$casesensitive</span>			</li>
				</ul>
		
			
	</div>
<a name="methodisHtml" id="isHtml"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">isHtml</span> (line <span class="line-number">543</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">checks if the content type says it's html. also checks for html-tag if application/* is returned</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the request returned html</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			isHtml
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodkillLog" id="killLog"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">killLog</span> (line <span class="line-number">699</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">remove the given log</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			killLog
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">'unittest.log'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
			
	</div>
<a name="methodloadController" id="loadController"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">loadController</span> (line <span class="line-number">199</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">load the given controller from kata and initialize it. you cant dispatch any url, use get() or post() for this.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			loadController
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: name of the controller, eg 'Main'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodloadModel" id="loadModel"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">loadModel</span> (line <span class="line-number">186</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">load the given model from kata</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			loadModel
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: name of the model, eg 'User'</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlog" id="log"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">log</span> (line <span class="line-number">708</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">put given text in the given logfile</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			log
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$txt</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span> = <span class="var-default">'unittest.log'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$txt</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlogin" id="login"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">login</span> (line <span class="line-number">642</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">log in to framework. creates a session-cookie and polls the login-form  to enable this test to get past any XSRF-protection</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			login
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$user</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pass</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$user</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$pass</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustAnything" id="mustAnything"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustAnything</span> (line <span class="line-number">308</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">convenience function: Do everything in one go: check for links and texts on the page specified by $url, and do the same for (possibly) following pages (?page=)  mustHave will fail only for less then one page  mustNotHave will fail on any page</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			mustAnything
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveText</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveText</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$expectedPages</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustHaveLink</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustHaveText</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustNotHaveLink</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustNotHaveText</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$expectedPages</span><span class="var-description">: optional: array with page numbers we expect</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustHaveForm" id="mustHaveForm"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustHaveForm</span> (line <span class="line-number">357</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">must have form or fail</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			mustHaveForm
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$action</span><span class="var-description">: kata-base relative url of the form (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustHaveLink" id="mustHaveLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustHaveLink</span> (line <span class="line-number">255</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">must have link</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			mustHaveLink
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$link</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustHaveText" id="mustHaveText"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustHaveText</span> (line <span class="line-number">381</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">must have given text or fail</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			mustHaveText
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustHaveTextAndLink" id="mustHaveTextAndLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustHaveTextAndLink</span> (line <span class="line-number">279</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">search all pages (?page=) for text and link and fail if nowhere to be found</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			mustHaveTextAndLink
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustHaveText</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$expectedPages</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustHaveLink</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustHaveText</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$expectedPages</span><span class="var-description">: optional: array with page numbers we expect</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustNotHaveForm" id="mustNotHaveForm"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustNotHaveForm</span> (line <span class="line-number">369</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">must not have form or fail</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			mustNotHaveForm
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$action</span><span class="var-description">: kata-base relative url of the form (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustNotHaveLink" id="mustNotHaveLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustNotHaveLink</span> (line <span class="line-number">264</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">must not have link</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			mustNotHaveLink
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$link</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustNotHaveText" id="mustNotHaveText"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustNotHaveText</span> (line <span class="line-number">391</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">must not have given text or fail</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			mustNotHaveText
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmustNotHaveTextOrLink" id="mustNotHaveTextOrLink"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">mustNotHaveTextOrLink</span> (line <span class="line-number">291</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">search all pages (?page=) for text and link and fail if somewhere found</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			mustNotHaveTextOrLink
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveLink</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$mustNotHaveText</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$expectedPages</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustNotHaveLink</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$mustNotHaveText</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$expectedPages</span><span class="var-description">: optional: array with page numbers we expect</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpost" id="post"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">post</span> (line <span class="line-number">595</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">POST the given URL with given POST-parameters and do some tests on it.</p>
<p class="description"><p>simulates correct RFC-behaviour by doing a GET if we received a redirect  after POST</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			post
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$postvars</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: (&quot;foo/bar&quot; for example)</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$postvars</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetFollowRedirects" id="setFollowRedirects"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setFollowRedirects</span> (line <span class="line-number">147</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setFollowRedirects
		</span>
					(<span class="var-type">bool</span>&nbsp;<span class="var-name">$param</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$param</span><span class="var-description">: automatically do a GET if we receive a redirect (true) or simply return the page with the redirect on it</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetVerbose" id="setVerbose"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setVerbose</span> (line <span class="line-number">156</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">set verboseness. 0=nothing 1=some 2=extensive</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setVerbose
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$level</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$level</span>			</li>
				</ul>
		
			
	</div>
<a name="methodweMustLandAtURL" id="weMustLandAtURL"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">weMustLandAtURL</span> (line <span class="line-number">401</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">to test if redirects really redirect or fail</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			weMustLandAtURL
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: kata-base relative url (read: without http)</span>			</li>
				</ul>
		
			
	</div>
<a name="method__defineOrEnv" id="__defineOrEnv"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">__defineOrEnv</span> (line <span class="line-number">132</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">turn environment variables into defines</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__defineOrEnv
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: name of the env variable</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: value to set to. can be false</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html">PHPUnit_Framework_TestCase</a></span></p>
					<blockquote>
													<img src="../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#method__construct">PHPUnit_Framework_TestCase::__construct()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodafter">PHPUnit_Framework_TestCase::after()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodassertContain">PHPUnit_Framework_TestCase::assertContain()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodassertNotContain">PHPUnit_Framework_TestCase::assertNotContain()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodcreateTmpFile">PHPUnit_Framework_TestCase::createTmpFile()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodreplaceTmpFile">PHPUnit_Framework_TestCase::replaceTmpFile()</a></span><br>
													<img src="../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../katatest_lib/PHPUnit_Framework_TestCase.html#methodsendMessage">PHPUnit_Framework_TestCase::sendMessage()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Wed, 02 Sep 2009 11:03:24 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>